/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.myapp.util;

import java.util.ResourceBundle;

/**
 *
 * @author toint
 */
public class ResourceBundleUtil {

    private static ResourceBundle rb = ResourceBundle.getBundle("tctlib_config");

    public static String getDAOPackage() {
        return rb.getString("dao_package");
    }

    public static String getHibernateConfigFileLocation() {
        return rb.getString("hibernate_config_file_location");
    }

    public static String getErrorPageForward() {
        return rb.getString("error_page_forward");
    }

    public static String getDBCConfigFileLocation() {
        return rb.getString("dbc_config_file_location");
    }

    public static String getClientRepo() {
        return rb.getString(ConstConfig.CLIENT_REPO);
    }

    public static String getClientKey() {
        return rb.getString(ConstConfig.CLIENT_KEYS);
    }

    public static String getKeyUser() {
        return rb.getString(ConstConfig.KEY_USER);
    }

    public static String getKeyPass() {
        return rb.getString(ConstConfig.KEY_PASS);
    }
}
